//
//  RGHomeDetailController.m
//  DuiTang--
//
//  Created by Lina Zhang on 16/10/2.
//  Copyright © 2016年 jpw. All rights reserved.
//

#import "RGHomeDetailController.h"
#import <WebKit/WebKit.h>
@interface RGHomeDetailController ()
@property (weak, nonatomic) IBOutlet UIView *consView;
@property (nonatomic , strong) WKWebView *webView;
@end

@implementation RGHomeDetailController


- (void)viewDidLoad {
    [super viewDidLoad];
    WKWebView *webV = [[WKWebView alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.webView = webV;
    webV.backgroundColor = [UIColor redColor];
    [self.consView addSubview:webV];
    NSURLRequest *request = [NSURLRequest requestWithURL:_url];
    [webV loadRequest:request];
}

@end
